package org.jeecg.modules.param.charge.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 充值记录
 * @Author: 月月鸟
 * @Date:   2021-05-27
 * @Version: V1.0
 */
@Data
@TableName("bike_member_user_charge")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bike_member_user_charge对象", description="充值记录")
public class BikeMemberUserCharge implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;

	/**用户*/
	//@Excel(name = "用户id", width = 0)
    @ApiModelProperty(value = "用户id")
    private java.lang.String userId;

    /**商户订单号*/
    //@Excel(name = "商户订单号", width = 0)
    @ApiModelProperty(value = "商户订单号")
    private java.lang.String outTradeNo;

    /**用户编号*/
    @Excel(name = "会员编码", width = 15)
    @ApiModelProperty(value = "用户编号")
    @TableField(exist = false)
    private java.lang.String userCode;
    /**用户姓名*/
    @Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "用户姓名")
    @TableField(exist = false)
    private java.lang.String userName;
    /**充值后钱包余额*/
    @Excel(name = "钱包余额", width = 15)
    @ApiModelProperty(value = "充值后钱包余额")
    private java.math.BigDecimal balanceEnd;
	/**充值金额*/
	@Excel(name = "充值金额", width = 15)
    @ApiModelProperty(value = "充值金额")
    private java.math.BigDecimal chargeAmount;
	/**充值类型(1后台充值2手机充值)*/
	@Excel(name = "充值类型", width = 15, dicCode = "charge_type")
	@Dict(dicCode = "charge_type")
    @ApiModelProperty(value = "充值类型(1后台充值2手机充值)")
    private java.lang.String chargeType;
	/**充值渠道(1现金2收款码3手机支付)*/
	@Excel(name = "充值渠道", width = 15, dicCode = "charge_canal")
	@Dict(dicCode = "charge_canal")
    @ApiModelProperty(value = "充值渠道(1现金2收款码3手机支付)")
    private java.lang.String chargeCanal;
    /**创建时间*/
    @Excel(name = "充值时间" ,width = 10,format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "充值时间")
    private java.util.Date createTime;
	/**创建人*/
	@Excel(name = "收银员",width = 10)
    @ApiModelProperty(value = "收银员")
    private java.lang.String createBy;

    /**是否全额退款*/
    @Dict(dicCode = "yn")
    @ApiModelProperty(value = "是否全额退款")
	private java.lang.String isFullRefund;

	/**修改人*/
    //@ApiModelProperty(value = "修改人")
    private java.lang.String updateBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    //@ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;
	/**备注*/
	//@Excel(name = "备注", width = 0)
    //@ApiModelProperty(value = "备注")
    private java.lang.String memo;


}
